home *** CD-ROM | disk | FTP | other *** search
/ Champak 86 / (Vol 86) My Disc.iso / Games / restaurante_1072.swf / scripts / __Packages / Food.as < prev    next >
Text File  |  2009-04-16  |  3KB  |  88 lines

  1. if(true)
  2. {
  3.    if(true)
  4.    {
  5.       ┬º┬ºpush(false);
  6.    }
  7.    if(!┬º┬ºpop())
  8.    {
  9.       if(true)
  10.       {
  11.          if(true)
  12.          {
  13.             ┬º┬ºpush(false);
  14.          }
  15.          if(!┬º┬ºpop())
  16.          {
  17.             if(!_global.Food)
  18.             {
  19.                _global.Food extends MissionItem;
  20.                var _loc2_ = _global.Food = function($mc, $t)
  21.                {
  22.                   super($mc);
  23.                   this._table = $t;
  24.                   this.__set__status(Food.FULL);
  25.                   this.putOnKitchen();
  26.                }.prototype;
  27.                _loc2_.putOnKitchen = function()
  28.                {
  29.                   var obj = this;
  30.                   this.__get__mc().onRelease = function()
  31.                   {
  32.                      var _loc1_ = Mission.getMission().__get__waitress();
  33.                      if(!_loc1_.__get__isBusy())
  34.                      {
  35.                         Mission.getMission().__get__waitress().foodService(Mission.getMission().__get__kitchen().getFood(obj),obj.__get__table());
  36.                      }
  37.                   };
  38.                };
  39.                _loc2_.__get__table = function()
  40.                {
  41.                   return this._table;
  42.                };
  43.                _loc2_.__set__mc = function(value)
  44.                {
  45.                   this._mc = value;
  46.                   this.__get__mc().gotoAndStop(this.__get__status());
  47.                   return this.__get__mc();
  48.                };
  49.                _global.Food = function($mc, $t)
  50.                {
  51.                   super($mc);
  52.                   this._table = $t;
  53.                   this.__set__status(Food.FULL);
  54.                   this.putOnKitchen();
  55.                }.FULL = "full";
  56.                _global.Food = function($mc, $t)
  57.                {
  58.                   super($mc);
  59.                   this._table = $t;
  60.                   this.__set__status(Food.FULL);
  61.                   this.putOnKitchen();
  62.                }.HALF = "half";
  63.                _global.Food = function($mc, $t)
  64.                {
  65.                   super($mc);
  66.                   this._table = $t;
  67.                   this.__set__status(Food.FULL);
  68.                   this.putOnKitchen();
  69.                }.EMPTY = "empty";
  70.                ┬º┬ºpush(_loc2_.addProperty("mc",function()
  71.                {
  72.                }
  73.                ,_loc2_.__set__mc));
  74.                ┬º┬ºpush(_loc2_.addProperty("table",_loc2_.__get__table,function()
  75.                {
  76.                }
  77.                ));
  78.                ┬º┬ºpush(ASSetPropFlags(_global.Food.prototype,null,1));
  79.             }
  80.             ┬º┬ºpop();
  81.          }
  82.       }
  83.       ┬º┬ºgoto(addr175);
  84.    }
  85.    ┬º┬ºpush(getTimer());
  86. }
  87. addr175:
  88.